Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Add HintDirection and read it from opts. #93

Merged
merged 3 commits into from
Jun 19, 2021
Merged

Conversation

hadronized
Copy link
Owner

@hadronized hadronized commented Jun 13, 2021

This first commit allows to apply the hints to only the previous part of
the cursor or what comes after.

This commit doesn’t currently check the column, only the line. The next
commit will add support for before / after on the current line and
should also add support for a way to reduce apply hints only to the
current line.

This is an alternative implementation of #59.

Relates to #71, #91.

Screenshoties

Screenshot_20210619_024238
Screenshot_20210619_024224

This first commit allows to apply the hints to only the previous part of
the cursor or what comes after.

This commit doesn’t currently check the column, only the line. The next
commit will add support for before / after on the current line and
should also add support for a way to reduce apply hints only to the
current line.

This is an alternative implementation of #59.

Relates to #71, #91.
Allows to hint lines by respecting a before / after hint mode. The
first / last line will be truncated accordingly.

Relates to #71, #91.
@hadronized hadronized force-pushed the feature/new-motions branch from c46d51d to 505f3b0 Compare June 19, 2021 00:45
@hadronized hadronized merged commit 1a8b3fb into master Jun 19, 2021
@hadronized hadronized deleted the feature/new-motions branch June 19, 2021 01:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant